<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{layout :: css(~{::title},~{::link})}">
    <link href="/css/kuang.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <title>商品管理界面</title>
</head>
<body>
<div th:insert="~{layout::sidebar(activeURI='two')}"></div>
<div class="right">
    <div th:insert="~{GoodsTop::top(activeURI='one2')}"></div>
    <div class="tablename">商品管理</div>
    <div class="page-wrap w">
        <div class="panel">
            <div class="panel-title">类</div>
            <div class="panel-body">
                <div class="address-item" th:each="cate:${productlist}" th:id="${cate.itemid}">
                    <div class="address-title">
                        [[${cate.itemid}]]
                    </div>
                    <div class="address-detail">
                        [[${cate.attr1}]]
                    </div>
                    <div class="address-operator">
                        <span class="link" ><a href="javascript:void(0)">编辑</a></span>
                        <span class="linkmmmm" ><a href="javascript:void(0)">下架</a></span>
                    </div>

                </div>
                <div class="address-item">
                    <div class="address-add">
                        <i class="fa fa-plus"></i>
                        <div class="link-text"><a th:href="${id}">添加新类</a></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="submitForm"></div>
</body>
<script src="js/item.js" type="text/javascript"></script>
</html>